package com.shi.yibanjia.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shi.yibanjia.entity.po.Comments;

import java.util.List;

/**
 * @author 20556
 * @description 针对表【tb_comments(评论表)】的数据库操作Service
 * @createDate 2024-04-17 13:10:08
 */
public interface CommentsService extends IService<Comments> {
    IPage<Comments> getCommentWithNicknameByPage(IPage page, List<Integer> stars);

    IPage<Comments> getCommentWithNicknameByUserId(IPage page, Long userId);
}
